package com.zenchn.dao;

import com.zenchn.generic.GenericDao;
import com.zenchn.model.TSysRole;
import com.zenchn.model.TSysRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TSysRoleMapper extends GenericDao<TSysRole, String, TSysRoleExample> {

    @Override
    long countByExample(TSysRoleExample example);

    @Override
    int deleteByExample(TSysRoleExample example);

    @Override
    int deleteByPrimaryKey(String roleId);

    @Override
    int insert(TSysRole record);

    @Override
    int insertSelective(TSysRole record);

    @Override
    List<TSysRole> selectByExample(TSysRoleExample example);

    @Override
    TSysRole selectByPrimaryKey(String roleId);

    @Override
    int updateByExampleSelective(@Param("record") TSysRole record, @Param("example") TSysRoleExample example);

    @Override
    int updateByExample(@Param("record") TSysRole record, @Param("example") TSysRoleExample example);

    @Override
    int updateByPrimaryKeySelective(TSysRole record);

    @Override
    int updateByPrimaryKey(TSysRole record);
}